package com.forekenow.Demo6;

/**
 *实现类
 */
public class AImplement extends Person implements A,B,C{

    @Override
    public void eat() {
        System.out.println("eat``````");
    }

    @Override
    public void run() {
        System.out.println("run。。。。");
    }

    @Override
    public void jump() {
        System.out.println("jump`````");
    }
    public static void main(String[] args) {
        A a = new AImplement();
        B b = new AImplement();
        C c = new AImplement();
        a.eat();
        b.run();
        c.jump();

    }

    @Override
    public boolean login(String name, int password) {
        return false;
    }

    @Override
    public boolean register(String name, int password) {
        return false;
    }

    @Override
    public Person getPersonById(String id) {
        return null;
    }

    @Override
    public Person[] getAll() {
        return new Person[0];
    }

    @Override
    public int deleteById(String id) {
        return 0;
    }
}
